/**
 * 公共路由表（不需要权限的路由，每个用户都可以看见，看见的内容都一样）
 */

import pathTable from '~/router/path_table'
import Layout from '~/views/layout/index.vue'
import Placeholder from '~/views/layout/components/Placeholder/index.vue'

export const customPublicRoutes = [
  {
    path: pathTable.INDEX,
    redirect: pathTable.INDEX_REDIRECT,
    name: 'index',
    component: Layout,
    children: [
      {
        path: pathTable.HOMEPAGE,
        name: 'homepage',
        component: Placeholder,
        meta: {
          isMenu: true,
          isBreadcrumb: true,
          title: '首页',
          icon: 'ri-home-4-fill'
        }
      }
    ]
  }
]
